package com.uduemc.biso.module.basic.service.customer.service;

import java.util.List;

import org.springframework.data.domain.Pageable;

import com.uduemc.biso.core.extities.center.CustomerRole;
import com.uduemc.biso.core.extities.center.custom.CustomerUserRole;

public interface CustomerRoleService {

	CustomerRole insert(CustomerRole customerRole);

	CustomerRole updateById(CustomerRole customerRole);

	CustomerRole findOne(Long id);

	List<CustomerRole> findAll(Pageable pageable);

	void deleteById(Long id);

	List<CustomerUserRole> findCustomerUserRoleByCustomerId(Long customerId);

}
